package com.adie.mapper;

import com.adie.pojo.OldMan;
import com.adie.pojo.Volunteer;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

//这个注解表示这是一个mybatis的mapper类  DAO
@Mapper
@Repository
public interface UserMapper {
    List<OldMan> queryOldManList();

    int addOldMan(OldMan oldMan);

    Volunteer queryVolunteer(String openid_volunteer);

    OldMan queryOldMan(String openid_old);

}
